package com.zhoug.ocr.textin.data.bill;

import com.google.gson.annotations.SerializedName;
import com.zhoug.common.beans.BaseBean;
import com.zhoug.ocr.textin.data.KeyValue;

import java.util.List;

/**
 * 国内通用票据识别:
 * 包括增值税普通发票、增值税普通发票（卷票）、增值税专用发票、增值税电子专用发票、增值税电子普通发票、
 * 货物运输业增值税专用发票、机动车销售统一发票、二手车销售统一发票、通用机打发票、通用定额发票、旅客运输普票、
 * 公路客运发票、船运客票、出租车发票、停车费发票、过路过桥费发票、教育费收据、行程单、火车票、增值税销货清单和其他可报销票据
 *
 * @Author: zhoug
 * @Date: 2023/3/13
 * @Description:
 */
public class BillResult extends BaseBean {
    @SerializedName(value = "objectList",alternate = {"object_list"})
    private List<Object> objectList;


    public List<Object> getObjectList() {
        return objectList;
    }

    public void setObjectList(List<Object> objectList) {
        this.objectList = objectList;
    }

    public static final class Object {
        @SerializedName(value = "imageAngle",alternate = {"image_angle"})
        private int imageAngle;//图片旋转角度
        private String kind;//类型 :traffic
        @SerializedName(value = "kindDescription",alternate = {"kind_description"})
        private String kindDescription ;//:交通
        @SerializedName(value = "cls",alternate = {"class"})
        private String cls;//other_invoice
        @SerializedName(value = "itemList",alternate = {"item_list"})
        private List<KeyValue> itemList;
        @SerializedName(value = "productList",alternate = {"product_list"})
        private List<List<KeyValue>> productList;
        private String type;//发票类型:train_ticket
        @SerializedName(value = "typeDescription",alternate = {"type_description"})
        private String typeDescription;//发票类型:火车票


        public int getImageAngle() {
            return imageAngle;
        }

        public void setImageAngle(int imageAngle) {
            this.imageAngle = imageAngle;
        }

        public String getKind() {
            return kind;
        }

        public void setKind(String kind) {
            this.kind = kind;
        }

        public String getKindDescription() {
            return kindDescription;
        }

        public void setKindDescription(String kindDescription) {
            this.kindDescription = kindDescription;
        }

        public String getCls() {
            return cls;
        }

        public void setCls(String cls) {
            this.cls = cls;
        }

        public List<KeyValue> getItemList() {
            return itemList;
        }

        public void setItemList(List<KeyValue> itemList) {
            this.itemList = itemList;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTypeDescription() {
            return typeDescription;
        }

        public void setTypeDescription(String typeDescription) {
            this.typeDescription = typeDescription;
        }

        public List<List<KeyValue>> getProductList() {
            return productList;
        }

        public void setProductList(List<List<KeyValue>> productList) {
            this.productList = productList;
        }
    }


}
